#pragma once

#include "..\..\Aspector\Source\AspectorLib.h"

class ASPECTORTYPELIB_API CComTypeFilterBase: public ITypeFilter
{
	const IID& typeIID;
public:
	CComTypeFilterBase(const IID& _typeIID);
	bool Matches(CJoinPoint& type);
};

template<const IID& iid>
class CComTypeFilter: public CComTypeFilterBase
{
public:
	CComTypeFilter()
		:CComTypeFilterBase(iid)
	{
	}
};
